package routers

import (
	"github.com/astaxie/beego"
	"github.com/astaxie/beego/context/param"
)

func init() {

	beego.GlobalControllerRouter["analysis/controllers:CenterController"] = append(beego.GlobalControllerRouter["analysis/controllers:CenterController"],
		beego.ControllerComments{
			Method: "GetCenters",
			Router: `/`,
			AllowHTTPMethods: []string{"get"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["analysis/controllers:ChildrenController"] = append(beego.GlobalControllerRouter["analysis/controllers:ChildrenController"],
		beego.ControllerComments{
			Method: "GetChildren",
			Router: `/`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["analysis/controllers:ConfigController"] = append(beego.GlobalControllerRouter["analysis/controllers:ConfigController"],
		beego.ControllerComments{
			Method: "Config",
			Router: `/`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["analysis/controllers:CourseController"] = append(beego.GlobalControllerRouter["analysis/controllers:CourseController"],
		beego.ControllerComments{
			Method: "GetCourse",
			Router: `/`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["analysis/controllers:PageController"] = append(beego.GlobalControllerRouter["analysis/controllers:PageController"],
		beego.ControllerComments{
			Method: "Get",
			Router: `/`,
			AllowHTTPMethods: []string{"get"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["analysis/controllers:PageController"] = append(beego.GlobalControllerRouter["analysis/controllers:PageController"],
		beego.ControllerComments{
			Method: "Center",
			Router: `/center`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["analysis/controllers:PageController"] = append(beego.GlobalControllerRouter["analysis/controllers:PageController"],
		beego.ControllerComments{
			Method: "Students",
			Router: `/Students`,
			AllowHTTPMethods: []string{"get"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["analysis/controllers:PageController"] = append(beego.GlobalControllerRouter["analysis/controllers:PageController"],
		beego.ControllerComments{
			Method: "Course",
			Router: `/Course`,
			AllowHTTPMethods: []string{"get"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["analysis/controllers:TeacherController"] = append(beego.GlobalControllerRouter["analysis/controllers:TeacherController"],
		beego.ControllerComments{
			Method: "GetTeachers",
			Router: `/`,
			AllowHTTPMethods: []string{"get"},
			MethodParams: param.Make(),
			Params: nil})

}
